package com.yanqu.road.entity.log;

import com.alibaba.fastjson.JSON;
import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;
import java.util.List;

@FieldTypeAnnotation(tableName = "t_l_ck_activity_evefeast_new_game", autoSave = true,uploadCk = true,desc = "秋夕雅宴-新开游戏的日志")
public class LogEveFeastNewGame extends ServerBaseLog{

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "0是免费,1是消耗道具")
    private int costType;
    @FieldTypeAnnotation(desc = "关卡id")
    private int turnId;
    @FieldTypeAnnotation(desc = "剩余免费次数")
    private int remainGameTimes;
    @FieldTypeAnnotation(desc = "随机到的可选物品")
    private String randomItems = "";

    public LogEveFeastNewGame(int activityId, long userId, int costType, int turnId, int remainGameTimes, String randomItems) {
        this.activityId = activityId;
        this.userId = userId;
        this.costType = costType;
        this.turnId = turnId;
        this.remainGameTimes = remainGameTimes;
        this.randomItems = randomItems;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    @Override
    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getCostType() {
        return costType;
    }

    public void setCostType(int costType) {
        this.costType = costType;
    }

    public int getTurnId() {
        return turnId;
    }

    public void setTurnId(int turnId) {
        this.turnId = turnId;
    }

    public int getRemainGameTimes() {
        return remainGameTimes;
    }

    public void setRemainGameTimes(int remainGameTimes) {
        this.remainGameTimes = remainGameTimes;
    }

    public String getRandomItems() {
        return randomItems;
    }

    public void setRandomItems(String randomItems) {
        this.randomItems = randomItems;
    }
}
